package com.situ.spring.service.impl;

import javax.annotation.Resource;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.situ.spring.dao.IBanjiDao;
import com.situ.spring.dao.impl.BanjiDaoImpl;
import com.situ.spring.service.IBanjiService;

@Service
public class BanjiServiceImpl implements IBanjiService{
	//@Resource(name = "banjiDaoImpl")
	@Autowired
	private IBanjiDao banjiDao;

	@Override
	public void selectAll() {
		// 开始事物
		System.out.println("BanjiServiceImpl.selectAll()");
		//banjiDao.selectAll();
		// 关闭事物
	}

	@Override
	public void deleteById() {
		// 开始事物
		System.out.println("BanjiServiceImpl.deleteById()");
		// 关闭事物
	}

}
